package com.beamfield.dao.sys;

import com.beamfield.model.OperatorChange;
import com.beamfield.modelVo.StaffAdjustmentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OperatorChangeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OperatorChange record);

    int insertSelective(OperatorChange record);

    OperatorChange selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OperatorChange record);

    int updateByPrimaryKey(OperatorChange record);

    List<StaffAdjustmentVo> readStaffAdjustment(@Param("ecode") String ecode, @Param("beamId") Long beamId, @Param("offset") String offset, @Param("limit") String limit);

    Long countStaffAdjustment(@Param("ecode") String ecode, @Param("beamId") Long beamId);
}